package com.mayuhao.coursemanage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mayuhao.coursemanage.entity.CssCourse;
import com.mayuhao.coursemanage.entity.CssCourseVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 马宇豪
 * @since 2022-10-25
 */
public interface CssCourseMapper extends BaseMapper<CssCourse> {

    Page<CssCourseVO> page(Page<CssCourseVO> courseVOPage, @Param("searchId") String searchId, @Param("searchName") String searchName);

    /**
     * @return java.util.List
     * @description 请修改方法描述
     * @methodName courseMapper
     * @params []
     * @paramType []
     * @author 马宇豪
     * @date 2022/11/12 0012 下午 9:24
     * @email 1757442521@qq.com
     **/
    List<CssCourseVO> getEcharts();
}
